package com.xyhy.core.file.oss.aliyun;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author robert
 * @since 2024-12-05
 */
@Getter
@Setter
@NoArgsConstructor
@ApiModel("文件：oss：图片上传：请求业务类")
public class ImageUploadReqBO {
  @NotNull
  @ApiModelProperty("文件类型，如 png, jpg, mp4等后缀名")
  private String fileType;

  @ApiModelProperty("宽度")
  private Integer width;

  @ApiModelProperty("高度")
  private Integer height;

  public ImageUploadReqBO(String fileType) {
    this.fileType = fileType;
  }
  
}
